import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from "@/router/index"
Vue.config.productionTip = false

import axios from 'axios';
Vue.prototype.$http = axios;

Vue.use(ElementUI);
const app = new Vue({
  router,  // 给实例化的Vue对象，添加路由参数，可以使用this.$route 获取路由参数等信息, this.$router获取路由实例对象。
  render: h => h(App),
  // el: "#app"
});
app.$mount('#app')
